<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	<!-- 忽略el表达式 servlet 3.0 默认会忽略  -->
<%@ page isELIgnored="false" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="/static/meta.jsp"%>
<title>首頁</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- basic styles -->
<link href="<%=basePath%>/static/ace/assets/css/bootstrap.min.css"
	rel="stylesheet" />
<link rel="stylesheet"
	href="<%=basePath%>/static/ace/assets/css/font-awesome.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>/static/ace/assets/css/ace.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>/static/ace/assets/css/ace-rtl.min.css" />
<link rel="stylesheet"
	href="<%=basePath%>/static/ace/assets/css/ace-skins.min.css" />
<%-- <link rel="stylesheet" type="text/css"
	href="<%=basePath%>/static/datatable/css/jquery.dataTables.min.css"> --%>
<style type="text/css">
	table tr {
		height:40px;
	}
	table tr td{
		font-size:15px;
	}
</style>
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
    <link rel="stylesheet" href="<%=basePath%>/static/ace/assets/css/leftnav.css" media="screen" type="text/css"/>
</head>
<body>
	<div class="navbar navbar-default" id="navbar">


		<div class="navbar-container" id="navbar-container">
			
			
			<div class="navbar-header pull-right" role="navigation">
				<ul class="nav ace-nav">

					<li class="light-blue"><a data-toggle="dropdown" href="#"
						class="dropdown-toggle"> <img class="nav-user-photo"
							src="<%=basePath%>/static/ace/assets/avatars/user.jpg"
							alt="Jason's Photo" /> <span class="user-info"> <small>欢迎光临,</small>
								<%-- <%=session.getAttribute("name") %> --%>
								<!-- session范围查找 -->
								<%-- ${ sessionScope.name } --%>
								${name}
								<%--${name } --%><!-- 自动在 page request session application 范围查找属性 -->
								
						</span> <i class="icon-caret-down"></i>
					</a>

						<ul
							class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
							<li><a href="#"> <i class="icon-cog"></i> 设置
							</a></li>

							<li><a href="#"> <i class="icon-user"></i> 个人资料
							</a></li>

							<li class="divider"></li>

							<li><a href="#" class="logOut"> <i class="icon-off "></i> 退出
							</a></li>
						</ul></li>
				</ul>
				<!-- /.ace-nav -->
			</div>
			<!-- /.navbar-header -->
		</div>
		<!-- /.container -->
	</div>

	<div class="main-container" id="main-container">
		<script type="text/javascript">
			try {
				ace.settings.check('main-container', 'fixed')
			} catch (e) {
			}
		</script>

		<div class="main-container-inner">
			<a class="menu-toggler" id="menu-toggler" href="#"> <span
				class="menu-text"></span>
			</a>

			<div class="sidebar" id="sidebar">
				<div class="sidebar-shortcuts" id="sidebar-shortcuts">
					

					<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
						<span class="btn btn-success"></span> <span class="btn btn-info"></span>

						<span class="btn btn-warning"></span> <span class="btn btn-danger"></span>
					</div>
				</div>
				<!-- #sidebar-shortcuts -->
				<div class="account-l fl">
        <a class="list-title">功能区</a>
        <ul id="accordion" class="accordion">
        	<li>
                <div class="link"><i class="fa fa-leaf"></i>指标展示<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="shop"><a>数据整合率（汇总）</a></li>
                    <li id="publicproducts"><a>数据整合率（按模块）</a></li>
                </ul>
            </li>
            <li>
                <div class="link" ><i class="fa fa-shopping-cart"></i>央巡数据整合<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="one" data-url="/itorder/page">
                    	<a href="#">（一）开展工程项目和设备采购领域权力寻租专项治理</a>
                    </li>
                    <li id="two"><a>（二）开展电力营销领域权力寻租专项治理</a></li>
                    <li id="three"><a>（三）开展企业奢侈浪费专项治理</a></li>
                    <li id="four"><a>（四）开展领导干部亲属经商办企业专项治理</a></li>
                    <li id="five"><a>（五）开展主业向职工持股企业输送利益专项治理</a></li>
                    <li id="six"><a>（六）认真分析研究巡视移交的问题线索，严肃查处违纪行为</a></li>
                    <li id="seven"><a>（七）加强选人用人管理，完善干部选拔任用机制</a></li>
                    <li id="eight"><a>（八）有针对性的开展内部巡视和专项审计</a></li>
                    <li id="night"><a>（九）扎实开展“三严三实”专题教育</a></li>
                    <li id="ten"><a>（十）贯彻“党要管党、从严治党”要求，强化党风廉政建设的主题责任</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-pencil-square-o"></i>网巡专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="buyerxunpanlist"><a></a></li>
                    <li id="publishrequire"><a></a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-file-text"></i>机动巡察专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="myorder"><a>我的订单</a></li>
                    <li id="myrefund"><a>退款申请</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-globe"></i>五个专项治理、五个专项行动<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="myloan"><a>我的借贷</a></li>
                    <li id="financialmanage"><a>需求申请</a></li>
                    <li id="myapplication"><a>我的申请</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-unlock-alt"></i>扫雷行动专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="basecomInfo"><a>基本信息</a></li>
                    <li id="authenchange"><a>认证信息</a></li>
                    <li id="phoneAuth"><a>手机认证</a></li>
                    <li id="bankCardAuth"><a>银行卡认证</a></li>
                    <li id="emailAuth"><a>邮箱认证</a></li>
                    <li id="passwordmodify"><a>密码修改</a></li>
                    <li id="paymentpsdmodify"><a>支付密码</a></li>
                    <li id="address"><a>收货地址</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-star"></i>红包治理专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="usercomments"><a>我的评价</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-bell"></i>正风反腐______三年行动专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="mymsg"><a>我的消息</a></li>
                </ul>
            </li>
            <!-- 视情况而定 -->
            <li>
                <div class="link"><i class="fa fa-signal"></i>形式主义专区、官僚主义专区<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="censusmanager"><a>月贸易量</a></li>
                    <li id="statisticmanager"><a>月订单量</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-credit-card"></i>其他巡察工作<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="oweindex"><a>开通白条</a></li>
                    <li id="myIous"><a>我的白条</a></li>
                    <li id="louorderlist"><a>订单列表</a></li>
                </ul>
            </li>
            <li>
                <div class="link"><i class="fa fa-credit-card"></i>大数据探索<i class="fa fa-chevron-down"></i></div>
                <ul class="submenu">
                    <li id="oweindex"><a>廉洁交底</a></li>
                    <li id="myIous"><a>车辆使用情况异常检查</a></li>
                    <li id="louorderlist"><a>合同查重</a></li>
                </ul>
            </li>
        </ul>
        <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
        <script src='<%=basePath %>/static/ace/assets/js/leftnav.js'></script>
    </div>
				
				<!-- /.nav-list -->
				<div class="sidebar-collapse" id="sidebar-collapse">
					<i class="icon-double-angle-left"
						data-icon1="icon-double-angle-left"
						data-icon2="icon-double-angle-right"></i>
				</div>

			</div>

			<div class="main-content">
				<div class="breadcrumbs" id="breadcrumbs">
					<script type="text/javascript">
						try {
							ace.settings.check('breadcrumbs', 'fixed')
						} catch (e) {
						}
					</script>

					<ul class="breadcrumb">
						<li><i class="icon-home home-icon"></i> <a href="#">首页</a></li>
						<li class="active">控制台</li>
					</ul>
					<!-- .breadcrumb -->

					<div class="nav-search" id="nav-search">
						<form class="form-search">
							<span class="input-icon"> <input type="text"
								placeholder="Search ..." class="nav-search-input"
								id="nav-search-input" autocomplete="off" /> <i
								class="icon-search nav-search-icon"></i>
							</span>
						</form>
					</div>
					<!-- #nav-search -->
				</div>

				<div class="page-content">
				
					<button id="ajax"></button>
					<%-- <jsp:include page="user/user.jsp"></jsp:include> --%>
				</div>
			</div>
		</div>
	</div>
	<!-- /.main-container -->

	<!-- basic scripts -->

	<!--[if !IE]> -->

	<script type="text/javascript" src="<%=basePath %>/static/ace/assets/js/jquery-1.10.2.min.js"></script>
	<script type="text/javascript" src="<%=basePath %>/static/datatable/js/jquery.dataTables.min.js"></script>
	<script src="<%=basePath%>/static/ace/assets/js/bootstrap.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>/static/layer/layer.js"></script>
	<script type="text/javascript" src="<%=basePath%>/static/util/pligins.ext.js"></script>
	<%-- 	<script src="<%=basePath %>/static/ace/assets/js/typeahead-bs2.min.js"></script>

 --%>

	<script type="text/javascript">
		$(function() {
			
			
			$("#ajax").on("click",function(){
				alert("ajax");
				
				$.ajax({
					url:"<%=basePath%>/user/query",
					/* type:"post",
					data:{}, */
					success:function(data){
						debugger;
						alert(data);
					},
					error:function(xhr){
						alert("请求有误");
					}
					
				})
				
			})
			
			
			
			
			
			
			
			
			
			
			<%-- 
			$(".nav-list li").on("click",function(){
				debugger;
				var url = $(this).data("url");
				$.ajax({
					url:"<%=basePath%>/" + url,
					success:function(data){
						$(".page-content").html(data);
					}
				})
			})		 --%>	
			$(".account-l li").on("click",function(){
				debugger;
				var url = $(this).data("url");
				$.ajax({
					url:"<%=basePath%>/" + url,
					success:function(data){
						$(".page-content").html(data);
					}
				})
			})			
			
			
			
			$(".account-l li:first").click();
			
			$(".logOut").on("click",function(){
				$.ajax({
					url:"<%=basePath%>/loginOut",
					type:"GET",
					success:function(data){
						debugger;
						data = eval('('+data+')'); 
						if(data.loginOut == "success"){
							window.location = "login.jsp";
						}
					}
				})
			});
		})
	</script>

	</div>
</body>
</html>

